package com.imooc.newretail.bpl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 租户用户表
 * </p>
 *
 * @author Hank
 * @since 2020-06-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SYS_TENANT_USER")
public class TenantUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("TENANT_USER_ID")
    private String tenantUserId;

    @TableField("TENANT_ID")
    private String tenantId;

    @TableField("DEPT_ID")
    private String deptId;

    @TableField("USER_ID")
    private String userId;

    /**
     * 岗位
     */
    @TableField("POST")
    private String post;

    @TableField("REMARK")
    private String remark;

    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;


}
